package com.feeyo.monitor.mapper;

import com.feeyo.monitor.domain.FenceId;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface FenceIdMapper {
    int deleteByPrimaryKey(String id);

    int insert(FenceId record);

    int insertSelective(FenceId record);

    FenceId selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(FenceId record);

    int updateByPrimaryKey(FenceId record);

    int updateTrueStatus(Integer fid);

    int updateFalseStatus(Integer fid);

    FenceId selectUsableId();
}